package com.lilihub.miaosha.intercepter;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @BelongsProject: miaosha
 * @BelongsPackage: com.lilihub.miaosha.config
 * @Author: LiYing
 * @CreateTime: 2021-04-30 14:34
 * @Description:
 */

@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface AccessLimit {


    int seconds() ;
    int maxCount();
    boolean needLogin() default true;

}
